<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<title>{$pageTitle}</title>
<meta name="author" content="zhiboCloud" />
<link rel="stylesheet" type="text/css" href="__static__/css/style.css" />
<link rel="stylesheet" type="text/css" href="__static__/css/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__static__/css/sweetalert.css"/>
<link rel="stylesheet" type="text/css" href="__static__/css/admin.css" />
<!--[if lt IE 10]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<![endif]-->
<!--[if lt IE 9]>
<script src="__static__/js/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="__static__/js/jquery-1.8.2.min.js"></script>
<script src="__static__/js/es6-promise.min.js"></script>
<!--<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>-->
<script src="__static__/js/finally.js"></script>
<script type="text/javascript" src="__static__/js/sweetalert.min.js"></script>
<script type="text/javascript" src="__static__/js/common.js"></script>
<script type="text/javascript" src="__static__/js/admin.js"></script>
<script>
//全局变量
var SITE_URL  = "__ROOT__";
var APPNAME   = '{php} echo MODULE_NAME;{/php}';
var _STATIC = '__static__';
var DEBUG = true;//开启js的调试模式
</script>
<style>
@media screen and (max-width: 550px) {.swal2-modal {width: auto !important;left: 5% !important;right: 5% !important;margin-left: 0 !important;}}
</style>
</head>
<!-- body start -->
<body>
{if condition="ACTION_NAME neq 'login'"}
<!--header-->
<header>
    <h1>
    <div class="logo">
        <img style="width: 36px;height: 36px;" src="__static__/images/logo.png"/><span style="margin-left: 5px;">闪特直播后台管理</span>
    </div>

    </h1>
    <ul class="rt_nav">
        <li style="position: relative;">
            <i class="msgNum" id="msgNum" style="color: yellow;position: absolute;top:0;left: 50px;"></i>
            <a href="{:U('admin/Msgtext/recmessage')}" class="iconfont iconfont-tixing loadContent">站内信</a>
        </li>
        <!--<li><a href="{:U('admin/Index/index')}" class="iconfont iconfont-shouye">后台首页</a></li>-->
        <li><a href="{:U('admin/User/account')}" class="iconfont iconfont-shezhi1 loadContent">账号设置</a></li>
        <li><a href="{:U('admin/Login/loginout')}" class="iconfont iconfont-tuichu loadContent">安全退出</a></li>
    </ul>
</header>
<!-- nav -->
<aside class="lt_aside_nav content mCustomScrollbar">
    <h2><a class="admin_menu_shupai iconfont iconfont-shupai"></a></h2>
    <ul>
        {volist name="admin_menu" id="vo"}
        <li>
            <dl id="admin_menu-{$key}">
                <dt class="clearfix">
                    <span class="admin_menu_icon iconfont iconfont-{$vo.icon}"></span>
                    <span class="admin_menu_title">{$vo.title}</span>
                    <span class="admin_menu_fx iconfont iconfont-xiangyou3"></span>
                </dt>
                {present name="vo.menus"}
                    {volist name="vo.menus" id="co"}
                    <dd class="admin_child_menu clearfix" style="display: none;">
                        <span class="admin_menu_icon iconfont iconfont-{$co.icon}"></span>
                        <span class="admin_menu_title"><a href="{$co.href}" rel="load-content">{$co.title}</a></span>
                    </dd>
                    {/volist}
                {/present}
                </dl>
        </li>
        {/volist}
        <li>
            <p class="btm_infor">©2018闪特版权所有</p>
        </li>
    </ul>
</aside>
<script src="__static__/js/jquery.mCustomScrollbar.concat.min.js"></script>

{if condition="!empty($msgText[title])"}
    <div class="model-notice">
        <a class="loadContent" href="{:U('admin/Msgtext/readMsg',array('id'=>encrypt_id($msgText.id)))}">
            <span >站内信:</span>
            <span>{$msgText['title']}</span>
        </a>
    </div>
{/if}
<section class="rt_wrap content mCustomScrollbar">
<div class="rt_content">
{/if}
